package com.cloud.pole.shop.biz.shops;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ace.cache.annotation.Cache;
import com.cloud.pole.common.biz.BaseBiz;
import com.cloud.pole.mapper.shops.ShopShopsPayTypeMapper;
import com.cloud.pole.shop.model.entity.shops.ShopShopsPayType;


@Service
@Transactional(rollbackFor = Exception.class)
public class ShopShopsPayTypeBiz extends BaseBiz<ShopShopsPayTypeMapper, ShopShopsPayType> {
	
    public List<ShopShopsPayType> selectListByMap(Map<String, Object> map) {
		 return mapper.selectListByMap(map);
    }
    
    public void addShopShopsPayType(ShopShopsPayType shopShopsPayType) {
    	mapper.appendShopShopsPayType(shopShopsPayType);
    };
	
    public void updateShopShopsPayType(ShopShopsPayType shopShopsPayType) {
    	mapper.updatendShopShopsPayType(shopShopsPayType);
    }
    
    public void deleteShopShopsPayType(Integer shopId) {
    	mapper.deletendShopShopsPayType(shopId);
    }
}
